package org.greatlogic.gwtfilereaderwidget.client.xml;

public abstract class Reader {
//--------------------------------------------------------------------------------------------------
protected Object _lock;
//--------------------------------------------------------------------------------------------------
protected Reader() {
  this(null);
} // reader()
//--------------------------------------------------------------------------------------------------
protected Reader(final Object lock) {
  _lock = lock == null ? this : lock;
} // reader()
//--------------------------------------------------------------------------------------------------
public abstract void close();
//--------------------------------------------------------------------------------------------------
public void mark(@SuppressWarnings("unused") final int readAheadLimit) {
  throw new UnsupportedOperationException();
} // mark()
//--------------------------------------------------------------------------------------------------
public boolean markSupported() {
  return false;
} // markSupported()
//--------------------------------------------------------------------------------------------------
public int read() {
  throw new UnsupportedOperationException();
} // read()
//--------------------------------------------------------------------------------------------------
public int read(@SuppressWarnings("unused") final char[] cbuf) {
  throw new UnsupportedOperationException();
} // read()
//--------------------------------------------------------------------------------------------------
public abstract int read(final char[] cbuf, final int off, final int len);
//--------------------------------------------------------------------------------------------------
public boolean ready() {
  throw new UnsupportedOperationException();
} // ready()
//--------------------------------------------------------------------------------------------------
public void reset() {
  throw new UnsupportedOperationException();
} // reset()
//--------------------------------------------------------------------------------------------------
public long skip(@SuppressWarnings("unused") final long n) {
  throw new UnsupportedOperationException();
} // skip()
//--------------------------------------------------------------------------------------------------
}